POV-Ray : Newsgroups : povray.general : Designing Sizes : Re: Designing Sizes Server Time
6 Aug 2024 16:57:59 EDT (-0400)
  Re: Designing Sizes  
From: Lieut Data
Date: 26 Feb 2002 15:12:29
Message: <3c7bec2d@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3c7be84b@news.povray.org...
> In article <3c7bd78d$1@news.povray.org> , "Lieut_Data"
> <lIe### [at] yahOOcom> wrote:
>
> > Should I do this: (where the box is 12 feet wide, .5 foot high, 6 feet
deep)
>
> As a serious advice:  Go with the metric system and simply take one unit
as a
> meter.  It makes everything so much easier when modeling as it perfectly
fits
> the decimal system using in POV-Ray...
>
>     Thorsten

Thankyou for the advice....

One other thing... I am trying to correctly position items based on other
items position, but I am running into a pitfall... I need the center of my
drawers to be at the center of my frame. Is there a way to access the
"center" of an object, i.e.

#declare my_box = box {...}

translate {<my_box.x, my_box.y, my_box.z>}

I dont think this is possible, as not all objects have a center (am I
right?) and Povray only moves the whole item so many places when
translating, and does not reposition the center... but it would be nice...

Right now I do the following for square items

x: positioning
(desk_frame_length / 2) + (desk_drawer_length / 2)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.